package com.loan.system.service;

import com.loan.system.domain.AssistFile;
import com.loan.system.domain.pdf.ResultDomain;

/**
 * @PACKAGE_NAME: com.loan.system.service
 * @CLASSNAME: IDealPdfService
 * @DEACRIPTION:
 * @AUTHOR: GuoChen
 * @DATE: 2024/2/1
 * @WEEK: 周四
 **/
public interface IDealPdfService {

    /**
     * 获取PDF文件元数数据信息
     *
     * @param filePath PDF文件所在路径
     * @return
     */
    public ResultDomain getOriginalInfoAndDealSize(String filePath);

    /**
     * 随机生成指定总额的数额，并做映射
     *
     * @param resultDomain
     * @return
     */
    public ResultDomain createRomValueMapping(ResultDomain resultDomain);

    /**
     * 生成PDF新文件
     *
     * @param resultDomain
     * @return
     */
    public AssistFile dealPdfTextAndCreateFile(ResultDomain resultDomain);
}
